package org.cskj.demo.demo.service.imp;

import org.cskj.demo.mapper.ShoptypeMapper;
import org.cskj.demo.pojo.Shoptype;
import org.cskj.demo.service.ShopTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopTypeImp implements ShopTypeService {
   @Autowired
    private ShoptypeMapper shoptypeMapper;

    @Override
    public List<Shoptype> selectAll() {
        return shoptypeMapper.selectByExample(null);
    }
}
